package com.aspose.cells;

import java.util.ArrayList;

class zje implements zagd {
   private zjg e;
   private zig f;
   private zat g;
   private zalw h;
   private zamu i;
   private zpu j;
   private double k;
   private Object l;
   private double m;
   private Object n;
   private double o;
   private String p;
   private String q;
   private String r;
   private boolean s;
   private boolean t;
   private boolean u;
   private boolean v;
   private boolean w;
   private boolean x;
   private boolean y;
   private boolean z;
   private int A;
   private int B;
   float a;
   private float C;
   private boolean D;
   private boolean E;
   private com.aspose.cells.b.a.b.zq F;
   private float G;
   private float H;
   private float I;
   ArrayList b;
   ArrayList c;
   ArrayList d;
   private boolean J;

   public boolean a() {
      return this.y;
   }

   public void a(boolean var1) {
      this.y = var1;
   }

   public boolean b() {
      return this.x;
   }

   public void b(boolean var1) {
      this.x = var1;
   }

   public boolean c() {
      return this.z;
   }

   public void c(boolean var1) {
      this.z = var1;
   }

   public boolean d() {
      return this.v;
   }

   public void d(boolean var1) {
      this.v = var1;
   }

   public boolean e() {
      return this.w;
   }

   public void e(boolean var1) {
      this.w = var1;
   }

   zje(zig var1) {
      this.v = false;
      this.w = false;
      this.x = false;
      this.y = false;
      this.z = false;
      this.A = 6;
      this.B = 6;
      this.a = 0.0F;
      this.C = 0.0F;
      this.D = true;
      this.E = false;
      this.F = com.aspose.cells.b.a.b.zq.c();
      this.b = new ArrayList();
      this.c = new ArrayList();
      this.d = new ArrayList();
      this.J = false;
      this.f = var1;
      this.g = new zat(var1, this, 7);
      this.h = new zalw(var1, 9);
      this.i = new zamu(var1, this);
      this.j = new zpu(var1, this, 12);
   }

   void f() {
      if (this.e != null && this.e.a() != null) {
         switch(this.e.a().m()) {
         case 37:
         case 38:
         case 39:
         case 57:
         case 62:
         case 64:
            this.m().b(1);
            this.k().f().a(3.0D);
            break;
         case 60:
            this.h.a(0);
         }

         switch(this.e.a().m()) {
         case 37:
         case 38:
         case 39:
         case 40:
         case 41:
         case 42:
         case 57:
         case 58:
         case 61:
         case 62:
         case 63:
         case 64:
            this.k().f().a(3.0D);
            this.k().b().c(2);
            this.k().b().d(1);
         case 43:
         case 44:
         case 45:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 59:
         case 60:
         default:
         }
      }
   }

   zje(zig var1, double var2) {
      this(var1);
      this.m = var2;
   }

   zjg g() {
      return this.e;
   }

   void a(zjg var1) {
      this.e = var1;
   }

   zig h() {
      return this.f;
   }

   zat i() {
      return this.g;
   }

   public zafn j() {
      return this.g;
   }

   zalw k() {
      return this.h;
   }

   public zahf l() {
      return this.h;
   }

   zamu m() {
      return this.i;
   }

   public zahh n() {
      return this.i;
   }

   zpu o() {
      return this.j;
   }

   public zagn p() {
      return this.j;
   }

   public double q() {
      return this.k;
   }

   public void a(double var1) {
      this.k = var1;
   }

   public int r() {
      return this.A;
   }

   public void a(int var1) {
      this.A = var1;
   }

   public Object s() {
      return this.l == null ? this.q() : this.l;
   }

   public void a(Object var1) {
      this.l = var1;
   }

   public String t() {
      return this.p;
   }

   public void a(String var1) {
      this.p = var1;
   }

   public boolean u() {
      return this.s;
   }

   public void f(boolean var1) {
      this.s = var1;
   }

   public double v() {
      return this.m;
   }

   public void c(double var1) {
      this.m = var1;
   }

   public int w() {
      return this.B;
   }

   public void b(int var1) {
      this.B = var1;
   }

   public Object x() {
      return this.n;
   }

   public void b(Object var1) {
      this.n = var1;
   }

   boolean y() {
      return this.w() == 2 && this.x() != null && "#N/A".equals(com.aspose.cells.b.a.zr.a(this.x()));
   }

   public String z() {
      return this.q;
   }

   public void b(String var1) {
      this.q = var1;
   }

   public boolean A() {
      return this.t;
   }

   public void g(boolean var1) {
      this.t = var1;
   }

   public double B() {
      return this.o;
   }

   public void e(double var1) {
      this.o = var1;
   }

   public String C() {
      return this.r;
   }

   public void c(String var1) {
      this.r = var1;
   }

   public boolean D() {
      return this.u;
   }

   public void h(boolean var1) {
      this.u = var1;
   }

   boolean F() {
      return this.v() < 0.0D;
   }

   public float E() {
      return this.D ? this.e.a().ay() : this.C;
   }

   public void a(float var1) {
      this.C = var1;
      this.D = false;
   }

   public void i(boolean var1) {
      this.E = var1;
   }

   int G() {
      return this.g().c().indexOf(this);
   }

   com.aspose.cells.b.a.b.zq H() {
      return this.F;
   }

   void a(com.aspose.cells.b.a.b.zq var1) {
      this.F = var1;
   }

   float I() {
      return this.G;
   }

   void b(float var1) {
      this.G = var1;
   }

   float J() {
      return this.H;
   }

   void c(float var1) {
      this.H = var1;
   }

   float K() {
      return this.I;
   }

   void d(float var1) {
      this.I = var1;
   }

   protected void finalize() throws Exception {
      this.j(false);
   }

   public void L() {
      this.j(true);
      com.aspose.cells.b.a.zg.a(this);
   }

   protected void j(boolean var1) {
      if (!this.J) {
         if (var1) {
            if (this.j != null) {
               this.j.E();
            }

            if (this.g != null) {
               this.g.l();
            }
         }

         this.J = true;
      }

   }
}
